oxenstored: honour XEN_LOG_DIR defined by configure
authorWei Liu <wei.liu2@citrix.com>
Mon, 13 Jun 2016 07:49:01 +0000 (08:49 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 14 Jun 2016 13:31:27 +0000 (14:31 +0100)
commita4fa83e5684e4aab33676748e79a884f3d0f86ff
tree8bd15c279546a12b0af1308a1aeeb1a68adae06b
parent6b007a6df12365c3e49859f68754006c734ddffe
oxenstored: honour XEN_LOG_DIR defined by configure

We generate a corresponding constant (in lower case) in paths.ml. Use
that in source code to get rid of hard-coded path.

Note that with this patch the default location for xenstored*.log is
changed from /var/log to /var/log/xen.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: David Scott <dave@recoil.org>
tools/ocaml/xenstored/logging.ml